package com.huchao.www.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Description:
 * @BelongsProject: background-management-v10
 * @BelongsPackage: com.huchao.www.vo
 * @Author: 亖思
 * @CreateTime: 2023/3/10 17:32
 * @Version: 1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class StudentPo {
    int stuNo;
    String stuName;
    String stuIdCard;
    String stuState;
    String college;
    String major;
    String classNum;
    LocalDateTime stuRepoTime;

    public String getStuState() {
        return stuState;
    }

    public void setStuState(boolean stuState) {
        if(stuState){
            this.stuState = "在校";
        }else{
            this.stuState = "辍学";
        }
    }
}
